<<<<<<< .mine
<template>
	<view>
		<!-- 自定义导航栏 -->
		<view class="navBarBox">
			<!-- 状态栏占位 -->
			<view class="statusBar" :style="{ paddingTop: statusBarHeight + 'px' }"></view>
			<!-- 真正的导航栏内容 -->
			<view class="navBar">
				<view class="goback">
					<view @click="goBack" class="goicon"style="background:url(../../static/goback.png);background-size:contain;background-repeat: no-repeat;">			
					</view>
				</view>
				<view class="title">选择老师</view>
				<view class="right">
					
				</view>
			</view>
		</view>
		<!-- 页面内容 -->
		<view>
			<view class="end-title">
			　　<view 
			@tap="change(0)" 
			:class="{btna:btnnum == 0}"
			>我的老师</view>
			
			  　<view 
			  @tap="change(1)" 
			  :class="{btna:btnnum == 1}"
			  >待审核</view>
			</view>
			<view class="end-cont" :class="{dis:btnnum == 0}">
			 　　<view class="centent2" v-for="(v,i) in lb">
	 				<view class="centent2-1">
	 					<image src="../../static/img/register/1head.png" mode=""></image>
	 					<text>{{v.teacherName}}</text>
	 				</view>
	 				<view class="centent2-2">
	 					<text>{{v.organizationName}}</text>
	 					<text>{{v.position}}</text>
	 				</view>
	 				<view class="centent2-3">
	 					<button @click="add(v.id)">移除</button>
	 				</view>
	 			</view>
	 			
	 		</view>
			</view>
			
			<view class="end-cont" :class="{dis:btnnum == 1}">
			 　　<view class="cententd2" v-for="(v,i) in lb1">
					<view class="cententd2-1">
						<image src="../../static/img/register/1head.png" mode=""></image>
						<text>{{v.teacherName}}</text>
					</view>
					<view class="cententd2-2">
						<text>{{v.organizationName}}</text>
						<text>{{v.position}}</text>
					</view>
					<view class="cententd2-3">
						<button @click="tongyi(v.id,1)">同意</button>
						<button @click="jujue(v.id,0)">拒绝</button>
					</view>
				</view>
			</view>
		</view>
	</view>
</template>



<style lang="less">
	.navBarBox {}

	.navBarBox .statusBar {}

	.navBarBox .navBar {
		padding: 3rpx 50rpx;
		padding-bottom: 8rpx;
		display: flex;
		justify-content: space-between;

		line-height: 93rpx;
		font-size: 40rpx;
	}

	.goback {
		flex: 1;
		height: 100%;
	}
	.goicon{
		width: 30rpx;
		height: 30rpx;
		background-color: #00BEA9;
		margin-top: 30rpx;
	}
	.title {
		flex: 1;
		height: 100%;
	}
	.right{
		flex: 1;
	}
	*{
			padding: 0;
			margin: 0;
	}
	body{
		background: #e8e8ee;
		padding: 30rpx;
	}
	// tabs
	
	/* 将三个内容view的display设置为none(隐藏) */
	    .end-title{
	        display: flex;
			width: 696rpx;
			height: 90rpx;
			background: #ffffff;
			// display: flex;
			justify-content: space-around;
			align-items: center;
			// box-shadow: #c8c8c8 2rpx 2rpx 2rpx 0;
			border-radius: 50rpx;
	    }
	    .end-title view{
	       font-size: 30rpx;
	       	border-radius: 50rpx;
	       	width: 330rpx;
	       	height: 72rpx;
	       	
	       	text-align: center;
	       	line-height: 72rpx;
	    }
	    .end-cont{
	        display: none;
	        // background: #C8C7CC;
	    }
	    .btna{
	        color: #FFFFFF;
	        background: #00A0FF;
	    }
	    .dis{
	        display: block;
	    }    
	
	// 我的老师
	.centent2{
			margin-top: 34rpx;
			width: 696rpx;
			height: 242rpx;
			background: #FFFFFF;
			border-radius: 10rpx;
			
			display: flex;
			box-shadow: #c8c8c8 2rpx 2rpx 2rpx 0;
		}
		.centent2-1{
			width: 134rpx;
			margin-top: 34rpx;
			margin-left: 42rpx;
			image{
				width: 130rpx;
				height: 130rpx;
			}
			text{
				display: flex;
				justify-content: center;
				font-size: 28rpx;
				margin-top: 14rpx;
			}
		}
		.centent2-2{
			display: flex;
			flex-wrap: wrap;
			flex-direction: column;
			margin-top: 44rpx;
			margin-left: 32rpx;
			width: 358rpx;
			text{
				font-size: 30rpx;
			}
			
			text:nth-child(2){
				margin-top: 26rpx;
				font-size: 26rpx;
				color: rgba(102,102,102,.8);
			}
		}
		.centent2-3{
			display: flex;
			align-items: center;
			// margin-left: 150rpx;
			button{
				background: #f9921c;
				width: 116rpx;
				height:52rpx;
				font-size: 28rpx;
				text-align: center;
				line-height: 52rpx;
				color: #FFFFFF;
				
			}
			
		}
	// 待审核
	.cententd2{
			margin-top: 34rpx;
			width: 696rpx;
			height: 242rpx;
			background: #FFFFFF;
			border-radius: 10rpx;
			
			display: flex;
			box-shadow: #c8c8c8 2rpx 2rpx 2rpx 0;
		}
		.cententd2-1{
			width: 134rpx;
			margin-top: 34rpx;
			margin-left: 42rpx;
			image{
				width: 130rpx;
				height: 130rpx;
			}
			text{
				display: flex;
				justify-content: center;
				font-size: 28rpx;
				margin-top: 14rpx;
			}
		}
		.cententd2-2{
			display: flex;
			flex-wrap: wrap;
			flex-direction: column;
			margin-top: 44rpx;
			margin-left: 32rpx;
			width: 358rpx;
			text{
				font-size: 30rpx;
			}
			
			text:nth-child(2){
				margin-top: 26rpx;
				font-size: 26rpx;
				color: rgba(102,102,102,.8);
			}
		}
		.cententd2-3{
			display: flex;
			flex-direction: column;
			align-items: center;
			justify-content: center;
			button{
				background: #ff6600;
				width: 116rpx;
				height:52rpx;
				font-size: 28rpx;
				text-align: center;
				line-height: 52rpx;
				color: #FFFFFF;
				box-shadow: #ff6600 2rpx 2rpx 2rpx 2rpx;
			}
			button:first-child{
				margin-bottom: 24rpx;
				background: #00bea9;
				box-shadow: #00bea9 1rpx 1rpx 0 0;
			}
			
		}
</style>


<script>
	export default {
		data() {
			return {
				// 机构id或者学校id
				// Data:null,
				Data:{
					orgId:null
				},
				
				// 状态栏高度
				statusBarHeight: 0,
				// 导航栏高度
				navBarHeight: 82 + 11,
				
				
				// 选项卡
				
				 btnnum: 0,
				 // items:["基本信息","公告信息","换区信息"],
				 count:"",
				 
				 // 列表渲染
				lb:[
					 //{
						//  name:'刘小丽',
						// school:'东风路培训学校',
						// teacher:'正高级教师',
						// id:1
					 // },
					 // {
					 // 	name:'刘小丽',
					 // 	school:'东风路培训学校',
					 // 	teacher:'正高级教师',
					 // 	id:2
					 // },
					 // {
						// name:'刘小丽',
						// school:'东风路培训学校',
						// teacher:'正高级教师',
						// id:3
					 // }
				],
				lb1:[
					// {
					// 	name:'刘小丽',
					// 	school:'东风路培训学校',
					// 	teacher:'正高级教师',
					// 	id:1
					// }
				]
			};
		},
		props: {

		},
		//第一次加载时调用
		created() {
			//获取手机状态栏高度
			this.statusBarHeight = uni.getSystemInfoSync()['statusBarHeight'];
			// 获取学校机构的id
			// this.Data=uni.getStorageSync('schAdminConfirmData');
			if(uni.getStorageSync('schAdminConfirmData')){
				let Data1=uni.getStorageSync('schAdminConfirmData')
				this.Data.orgId=Data1.orgId
				console.log('学校id',this.Data.orgId)
			}else{
				let Data2=uni.getStorageSync('mechManagRegisterData')
				this.Data.orgId=Data2.id;
				console.log('机构id',this.Data.orgId)
			}
		},
		
		methods:{
			// 待审核里面的同意
			tongyi(v,i){
				console.log('同意',i)
				this.$myRequest({
					url:'/admin/teacher/approval',
					method:'POST',
					data:{
						status:i,
						sysUserId:v
					},
					success:(res)=>{
						console.log(res)
						uni.showToast({
						    title: '审核成功',
						    duration: 1000
						});
						this.xuanran1()
					},
					fail:(err)=>{
						console.log(err)
					}
				})
				// uni.showModal({
				//     title: '提示',
				//     content: '是否通过审核',
				// 	showCancel	:false,
				//     success: (res)=>{
				//         if (res.confirm) {
				//             console.log('用户点击确定');
				// 			console.log('成功',v)
				// 			this.$myRequest({
				// 				url:'/admin/teacher/approval',
				// 				method:'POST',
				// 				data:{
				// 					status:i,
				// 					sysUserId:v
				// 				},
				// 				success:(res)=>{
				// 					console.log(res)
				// 					uni.showToast({
				// 					    title: '审核成功',
				// 					    duration: 1000
				// 					});
				// 					this.xuanran1()
				// 				},
				// 				fail:(err)=>{
				// 					console.log(err)
				// 				}
				// 			})
				//         }
				//     }
				// });
			},
			// 拒绝
			jujue(v,i){
				console.log('拒绝',v,i)
				
				uni.showModal({
				    title: '提示',
				    content: '是否拒绝该老师的申请',
				    success:(res)=>{
				        if (res.confirm) {
				            console.log('用户点击确定');
							console.log('拒绝',v)
							this.$myRequest({
								url:`/admin/teacher/delete/${v}`,
								data:{
									
								},
								success:(res)=>{
									console.log(res)
									uni.showToast({
									    title: '拒绝成功',
									    duration: 1000
									});
									this.xuanran1()
								},
								fail:(err)=>{
									console.log(err)
								}
							})
				        } else if (res.cancel) {
				            console.log('用户点击取消');
							console.log('取消拒绝',v)
				        }
				    }
				});
			},
			// 我的老师里面的移除
			add(v){
				
				uni.showModal({
				    title: '提示',
				    content: '是否移除该老师',
				    success: (res)=>{
				        if (res.confirm) {
				            console.log('用户点击确定');
							console.log('移除',v)
							this.$myRequest({
								url:`/admin/teacher/delete/${v}`,
								data:{
									
								},
								success:(res)=>{
									console.log(res)
									uni.showToast({
									    title: '移除成功',
									    duration: 1500
									});
									this.xuanran()
								},
								fail:(err)=>{
									console.log(err)
								}
							})
							
				        } else if (res.cancel) {
				            console.log('用户点击取消');
							console.log('取消',v)
				        }
				    }
				});
			},
			goBack(){
				// 此处是写返回页面的方法、
							
				uni.navigateBack({
				    delta: 1//返回只上一级页面
				});
			},
			
			
			// 选项卡
			change(e) {
			     this.count = e
			     this.btnnum = e
			     // console.log('列表',e)
				 
				 if(e==0){
					this.xuanran()
					console.log(e)
				 }else if(e==1){
					 // alert(1)
					 this.xuanran1()
					 console.log(e)
				 }
				 
			},
			  
			xuanran(){
				this.$myRequest({
					url:`/admin/teacher/finds/${this.Data.orgId}`,
					data:{
						
					},
					success: (res) => {
					    console.log('成功',res.data.data);
						this.lb=res.data.data
					    
					},
					fail:(err)=>{
						console.log('失败',err)
					}
				})
			},
			xuanran1(){
				this.$myRequest({
					url:`/admin/teacher/findNot/${this.Data.orgId}`,
					data:{
						
					},
					success: (res) => {
					    console.log('成功',res.data);
						this.lb1=res.data.data
					    
					},
					fail:(err)=>{
						console.log('失败',err)
					}
				})
			}
		},
		onLoad() {
			this.xuanran()
		}
	}
||||||| .r58
<template>
	<view>
		<!-- 自定义导航栏 -->
		<view class="navBarBox">
			<!-- 状态栏占位 -->
			<view class="statusBar" :style="{ paddingTop: statusBarHeight + 'px' }"></view>
			<!-- 真正的导航栏内容 -->
			<view class="navBar">
				<view class="goback">
					<view @click="goBack" class="goicon"style="background:url(../../static/goback.png);background-size:contain;background-repeat: no-repeat;">			
					</view>
				</view>
				<view class="title">选择老师</view>
				<view class="right">
					
				</view>
			</view>
		</view>
		<!-- 页面内容 -->
		<view>
			<view class="end-title">
			　　<view 
			@tap="change(0)" 
			:class="{btna:btnnum == 0}"
			>我的老师</view>
			
			  　<view 
			  @tap="change(1)" 
			  :class="{btna:btnnum == 1}"
			  >待审核</view>
			</view>
			<view class="end-cont" :class="{dis:btnnum == 0}">
			 　　<view class="centent2">
	 				<view class="centent2-1">
	 					<image src="../../static/img/register/1head.png" mode=""></image>
	 					<text>刘小丽</text>
	 				</view>
	 				<view class="centent2-2">
	 					<text>东风路培训学校</text>
	 					<text>正高级教师</text>
	 				</view>
	 				<view class="centent2-3">
	 					<button @click="add">移除</button>
	 				</view>
	 			</view>
	 			
	 			<view class="centent2">
	 				<view class="centent2-1">
	 					<image src="../../static/img/register/1head.png" mode=""></image>
	 					<text>刘小丽</text>
	 				</view>
	 				<view class="centent2-2">
	 					<text>东风路培训学校</text>
	 					<text>正高级教师</text>
	 				</view>
	 				<view class="centent2-3">
	 					<button @click="add">移除</button>
	 				</view>
	 			</view>
	 			
	 			<view class="centent2">
	 				<view class="centent2-1">
	 					<image src="../../static/img/register/1head.png" mode=""></image>
	 					<text>刘小丽</text>
	 				</view>
	 				<view class="centent2-2">
	 					<text>东风路培训学校</text>
	 					<text>正高级教师</text>
	 				</view>
	 				<view class="centent2-3">
	 					<button @click="add">移除</button>
	 				</view>
	 			</view>
	 		</view>
			</view>
			
			<view class="end-cont" :class="{dis:btnnum == 1}">
			 　　<view class="cententd2">
					<view class="cententd2-1">
						<image src="../../static/img/register/1head.png" mode=""></image>
						<text>刘小丽</text>
					</view>
					<view class="cententd2-2">
						<text>东风路培训学校</text>
						<text>正高级教师</text>
					</view>
					<view class="cententd2-3">
						<button>同意</button>
						<button @click="add">拒绝</button>
					</view>
				</view>
			</view>
		</view>
	</view>
</template>



<style lang="less">
	.navBarBox {}

	.navBarBox .statusBar {}

	.navBarBox .navBar {
		padding: 3rpx 50rpx;
		padding-bottom: 8rpx;
		display: flex;
		justify-content: space-between;

		line-height: 93rpx;
		font-size: 40rpx;
	}

	.goback {
		flex: 1;
		height: 100%;
	}
	.goicon{
		width: 30rpx;
		height: 30rpx;
		background-color: #00BEA9;
		margin-top: 30rpx;
	}
	.title {
		flex: 1;
		height: 100%;
	}
	.right{
		flex: 1;
	}
	*{
			padding: 0;
			margin: 0;
	}
	body{
		background: #e8e8ee;
		padding: 30rpx;
	}
	// tabs
	
	/* 将三个内容view的display设置为none(隐藏) */
	    .end-title{
	        display: flex;
			width: 696rpx;
			height: 90rpx;
			background: #ffffff;
			// display: flex;
			justify-content: space-around;
			align-items: center;
			// box-shadow: #c8c8c8 2rpx 2rpx 2rpx 0;
			border-radius: 50rpx;
	    }
	    .end-title view{
	       font-size: 30rpx;
	       	border-radius: 50rpx;
	       	width: 330rpx;
	       	height: 72rpx;
	       	
	       	text-align: center;
	       	line-height: 72rpx;
	    }
	    .end-cont{
	        display: none;
	        // background: #C8C7CC;
	    }
	    .btna{
	        color: #FFFFFF;
	        background: #00A0FF;
	    }
	    .dis{
	        display: block;
	    }    
	
	// 我的老师
	.centent2{
			margin-top: 34rpx;
			width: 696rpx;
			height: 242rpx;
			background: #FFFFFF;
			border-radius: 10rpx;
			
			display: flex;
			box-shadow: #c8c8c8 2rpx 2rpx 2rpx 0;
		}
		.centent2-1{
			width: 134rpx;
			margin-top: 34rpx;
			margin-left: 42rpx;
			image{
				width: 130rpx;
				height: 130rpx;
			}
			text{
				display: flex;
				justify-content: center;
				font-size: 28rpx;
				margin-top: 14rpx;
			}
		}
		.centent2-2{
			display: flex;
			flex-wrap: wrap;
			flex-direction: column;
			margin-top: 44rpx;
			margin-left: 32rpx;
			width: 358rpx;
			text{
				font-size: 30rpx;
			}
			
			text:nth-child(2){
				margin-top: 26rpx;
				font-size: 26rpx;
				color: rgba(102,102,102,.8);
			}
		}
		.centent2-3{
			display: flex;
			align-items: center;
			// margin-left: 150rpx;
			button{
				background: #f9921c;
				width: 116rpx;
				height:52rpx;
				font-size: 28rpx;
				text-align: center;
				line-height: 52rpx;
				color: #FFFFFF;
				
			}
			
		}
	// 待审核
	.cententd2{
			margin-top: 34rpx;
			width: 696rpx;
			height: 242rpx;
			background: #FFFFFF;
			border-radius: 10rpx;
			
			display: flex;
			box-shadow: #c8c8c8 2rpx 2rpx 2rpx 0;
		}
		.cententd2-1{
			width: 134rpx;
			margin-top: 34rpx;
			margin-left: 42rpx;
			image{
				width: 130rpx;
				height: 130rpx;
			}
			text{
				display: flex;
				justify-content: center;
				font-size: 28rpx;
				margin-top: 14rpx;
			}
		}
		.cententd2-2{
			display: flex;
			flex-wrap: wrap;
			flex-direction: column;
			margin-top: 44rpx;
			margin-left: 32rpx;
			width: 358rpx;
			text{
				font-size: 30rpx;
			}
			
			text:nth-child(2){
				margin-top: 26rpx;
				font-size: 26rpx;
				color: rgba(102,102,102,.8);
			}
		}
		.cententd2-3{
			display: flex;
			flex-direction: column;
			align-items: center;
			justify-content: center;
			button{
				background: #ff6600;
				width: 116rpx;
				height:52rpx;
				font-size: 28rpx;
				text-align: center;
				line-height: 52rpx;
				color: #FFFFFF;
				box-shadow: #ff6600 2rpx 2rpx 2rpx 2rpx;
			}
			button:first-child{
				margin-bottom: 24rpx;
				background: #00bea9;
				box-shadow: #00bea9 1rpx 1rpx 0 0;
			}
			
		}
</style>


<script>
	export default {
		data() {
			return {
				// 状态栏高度
				statusBarHeight: 0,
				// 导航栏高度
				navBarHeight: 82 + 11,
				
				
				// 选项卡
				
				 btnnum: 0,
				 items:["基本信息","公告信息","换区信息"],
				 count:"",
			};
		},
		props: {

		},
		//第一次加载时调用
		created() {
			//获取手机状态栏高度
			this.statusBarHeight = uni.getSystemInfoSync()['statusBarHeight'];
		},
		methods:{
			goBack(){
				// 此处是写返回页面的方法、
							
				uni.navigateBack({
				    delta: 1//返回只上一级页面
				});
			},
			
			// 选项卡
			 change(e) {
			     this.count = e
			     this.btnnum = e
			     console.log(this.count)
			  }
		}
	}
=======
<template>
	<view>
		<!-- 自定义导航栏 -->
		<view class="navBarBox">
			<!-- 状态栏占位 -->
			<view class="statusBar" :style="{ paddingTop: statusBarHeight + 'px' }"></view>
			<!-- 真正的导航栏内容 -->
			<view class="navBar">
				<view class="goback">
					<view @click="goBack" class="goicon"style="background:url(../../static/goback.png);background-size:contain;background-repeat: no-repeat;">			
					</view>
				</view>
				<view class="title">选择老师</view>
				<view class="right">
					
				</view>
			</view>
		</view>
		<!-- 页面内容 -->
		<view>
			<view class="end-title">
			　　<view 
			@tap="change(0)" 
			:class="{btna:btnnum == 0}"
			>我的老师</view>
			
			  　<view 
			  @tap="change(1)" 
			  :class="{btna:btnnum == 1}"
			  >待审核</view>
			</view>
			<view class="end-cont" :class="{dis:btnnum == 0}">
			 　　<view class="centent2" v-for="(v,i) in lb">
	 				<view class="centent2-1">
	 					<image src="../../static/img/register/1head.png" mode=""></image>
	 					<text>{{v.teacherName}}</text>
	 				</view>
	 				<view class="centent2-2">
	 					<text>{{v.organizationName}}</text>
	 					<text>{{v.position}}</text>
	 				</view>
	 				<view class="centent2-3">
	 					<button @click="add(v.id)">移除</button>
	 				</view>
	 			</view>
	 			
	 		</view>
			</view>
			
			<view class="end-cont" :class="{dis:btnnum == 1}">
			 　　<view class="cententd2" v-for="(v,i) in lb1">
					<view class="cententd2-1">
						<image src="../../static/img/register/1head.png" mode=""></image>
						<text>{{v.teacherName}}</text>
					</view>
					<view class="cententd2-2">
						<text>{{v.organizationName}}</text>
						<text>{{v.position}}</text>
					</view>
					<view class="cententd2-3">
						<button @click="tongyi(v.id,1)">同意</button>
						<button @click="jujue(v.id,0)">拒绝</button>
					</view>
				</view>
			</view>
		</view>
	</view>
</template>



<style lang="less">
	.navBarBox {}

	.navBarBox .statusBar {}

	.navBarBox .navBar {
		padding: 3rpx 50rpx;
		padding-bottom: 8rpx;
		display: flex;
		justify-content: space-between;

		line-height: 93rpx;
		font-size: 40rpx;
	}

	.goback {
		flex: 1;
		height: 100%;
	}
	.goicon{
		width: 30rpx;
		height: 30rpx;
		background-color: #00BEA9;
		margin-top: 30rpx;
	}
	.title {
		flex: 1;
		height: 100%;
	}
	.right{
		flex: 1;
	}
	*{
			padding: 0;
			margin: 0;
	}
	body{
		background: #e8e8ee;
		padding: 30rpx;
	}
	// tabs
	
	/* 将三个内容view的display设置为none(隐藏) */
	    .end-title{
	        display: flex;
			width: 696rpx;
			height: 90rpx;
			background: #ffffff;
			// display: flex;
			justify-content: space-around;
			align-items: center;
			// box-shadow: #c8c8c8 2rpx 2rpx 2rpx 0;
			border-radius: 50rpx;
	    }
	    .end-title view{
	       font-size: 30rpx;
	       	border-radius: 50rpx;
	       	width: 330rpx;
	       	height: 72rpx;
	       	
	       	text-align: center;
	       	line-height: 72rpx;
	    }
	    .end-cont{
	        display: none;
	        // background: #C8C7CC;
	    }
	    .btna{
	        color: #FFFFFF;
	        background: #00A0FF;
	    }
	    .dis{
	        display: block;
	    }    
	
	// 我的老师
	.centent2{
			margin-top: 34rpx;
			width: 696rpx;
			height: 242rpx;
			background: #FFFFFF;
			border-radius: 10rpx;
			
			display: flex;
			box-shadow: #c8c8c8 2rpx 2rpx 2rpx 0;
		}
		.centent2-1{
			width: 134rpx;
			margin-top: 34rpx;
			margin-left: 42rpx;
			image{
				width: 130rpx;
				height: 130rpx;
			}
			text{
				display: flex;
				justify-content: center;
				font-size: 28rpx;
				margin-top: 14rpx;
			}
		}
		.centent2-2{
			display: flex;
			flex-wrap: wrap;
			flex-direction: column;
			margin-top: 44rpx;
			margin-left: 32rpx;
			width: 358rpx;
			text{
				font-size: 30rpx;
			}
			
			text:nth-child(2){
				margin-top: 26rpx;
				font-size: 26rpx;
				color: rgba(102,102,102,.8);
			}
		}
		.centent2-3{
			display: flex;
			align-items: center;
			// margin-left: 150rpx;
			button{
				background: #f9921c;
				width: 116rpx;
				height:52rpx;
				font-size: 28rpx;
				text-align: center;
				line-height: 52rpx;
				color: #FFFFFF;
				
			}
			
		}
	// 待审核
	.cententd2{
			margin-top: 34rpx;
			width: 696rpx;
			height: 242rpx;
			background: #FFFFFF;
			border-radius: 10rpx;
			
			display: flex;
			box-shadow: #c8c8c8 2rpx 2rpx 2rpx 0;
		}
		.cententd2-1{
			width: 134rpx;
			margin-top: 34rpx;
			margin-left: 42rpx;
			image{
				width: 130rpx;
				height: 130rpx;
			}
			text{
				display: flex;
				justify-content: center;
				font-size: 28rpx;
				margin-top: 14rpx;
			}
		}
		.cententd2-2{
			display: flex;
			flex-wrap: wrap;
			flex-direction: column;
			margin-top: 44rpx;
			margin-left: 32rpx;
			width: 358rpx;
			text{
				font-size: 30rpx;
			}
			
			text:nth-child(2){
				margin-top: 26rpx;
				font-size: 26rpx;
				color: rgba(102,102,102,.8);
			}
		}
		.cententd2-3{
			display: flex;
			flex-direction: column;
			align-items: center;
			justify-content: center;
			button{
				background: #ff6600;
				width: 116rpx;
				height:52rpx;
				font-size: 28rpx;
				text-align: center;
				line-height: 52rpx;
				color: #FFFFFF;
				box-shadow: #ff6600 2rpx 2rpx 2rpx 2rpx;
			}
			button:first-child{
				margin-bottom: 24rpx;
				background: #00bea9;
				box-shadow: #00bea9 1rpx 1rpx 0 0;
			}
			
		}
</style>


<script>
	export default {
		data() {
			return {
				// 状态栏高度
				statusBarHeight: 0,
				// 导航栏高度
				navBarHeight: 82 + 11,
				
				
				// 选项卡
				
				 btnnum: 0,
				 // items:["基本信息","公告信息","换区信息"],
				 count:"",
				 
				 // 列表渲染
				lb:[
					 {
						 name:'刘小丽',
						school:'东风路培训学校',
						teacher:'正高级教师',
						id:1
					 },
					 {
					 	name:'刘小丽',
					 	school:'东风路培训学校',
					 	teacher:'正高级教师',
					 	id:2
					 },
					 {
						name:'刘小丽',
						school:'东风路培训学校',
						teacher:'正高级教师',
						id:3
					 }
				],
				lb1:[
					{
						name:'刘小丽',
						school:'东风路培训学校',
						teacher:'正高级教师',
						id:1
					}
				]
			};
		},
		props: {

		},
		//第一次加载时调用
		created() {
			//获取手机状态栏高度
			this.statusBarHeight = uni.getSystemInfoSync()['statusBarHeight'];
		},
		
		methods:{
			// 待审核里面的同意
			tongyi(v,i){
				console.log('同意',i)
				this.$myRequest({
					url:'/admin/teacher/approval',
					method:'POST',
					data:{
						status:i,
						sysUserId:v
					},
					success:(res)=>{
						console.log(res)
						uni.showToast({
						    title: '审核成功',
						    duration: 1000
						});
						this.xuanran1()
					},
					fail:(err)=>{
						console.log(err)
					}
				})
				// uni.showModal({
				//     title: '提示',
				//     content: '是否通过审核',
				// 	showCancel	:false,
				//     success: (res)=>{
				//         if (res.confirm) {
				//             console.log('用户点击确定');
				// 			console.log('成功',v)
				// 			this.$myRequest({
				// 				url:'/admin/teacher/approval',
				// 				method:'POST',
				// 				data:{
				// 					status:i,
				// 					sysUserId:v
				// 				},
				// 				success:(res)=>{
				// 					console.log(res)
				// 					uni.showToast({
				// 					    title: '审核成功',
				// 					    duration: 1000
				// 					});
				// 					this.xuanran1()
				// 				},
				// 				fail:(err)=>{
				// 					console.log(err)
				// 				}
				// 			})
				//         }
				//     }
				// });
			},
			// 拒绝
			jujue(v,i){
				console.log('拒绝',v,i)
				
				uni.showModal({
				    title: '提示',
				    content: '是否拒绝该老师的申请',
				    success:(res)=>{
				        if (res.confirm) {
				            console.log('用户点击确定');
							console.log('拒绝',v)
							this.$myRequest({
								url:`/admin/teacher/delete/${v}`,
								data:{
									
								},
								success:(res)=>{
									console.log(res)
									uni.showToast({
									    title: '拒绝成功',
									    duration: 1000
									});
									this.xuanran1()
								},
								fail:(err)=>{
									console.log(err)
								}
							})
				        } else if (res.cancel) {
				            console.log('用户点击取消');
							console.log('取消拒绝',v)
				        }
				    }
				});
			},
			// 我的老师里面的移除
			add(v){
				
				uni.showModal({
				    title: '提示',
				    content: '是否移除该老师',
				    success: (res)=>{
				        if (res.confirm) {
				            console.log('用户点击确定');
							console.log('移除',v)
							this.$myRequest({
								url:`/admin/teacher/delete/${v}`,
								data:{
									
								},
								success:(res)=>{
									console.log(res)
									uni.showToast({
									    title: '移除成功',
									    duration: 1500
									});
									this.xuanran()
								},
								fail:(err)=>{
									console.log(err)
								}
							})
							
				        } else if (res.cancel) {
				            console.log('用户点击取消');
							console.log('取消',v)
				        }
				    }
				});
			},
			goBack(){
				// 此处是写返回页面的方法、
							
				uni.navigateBack({
				    delta: 1//返回只上一级页面
				});
			},
			
			
			// 选项卡
			change(e) {
			     this.count = e
			     this.btnnum = e
			     // console.log('列表',e)
				 
				 if(e==0){
					this.xuanran()
					console.log(e)
				 }else if(e==1){
					 // alert(1)
					 this.xuanran1()
					 console.log(e)
				 }
				 
			},
			  
			xuanran(){
				this.$myRequest({
					url:'/admin/teacher/finds/1',
					data:{
						
					},
					success: (res) => {
					    console.log('成功',res.data.data);
						this.lb=res.data.data
					    
					},
					fail:(err)=>{
						console.log('失败',err)
					}
				})
			},
			xuanran1(){
				this.$myRequest({
					url:'/admin/teacher/findNot/1',
					data:{
						
					},
					success: (res) => {
					    console.log('成功',res.data);
						this.lb1=res.data.data
					    
					},
					fail:(err)=>{
						console.log('失败',err)
					}
				})
			}
		},
		onLoad() {
			this.xuanran()
		}
	}
>>>>>>> .r115
</script>